Motion.CreateSpline method

Creates a spline curve.

Namespace: IntervalZero.KINGSTAR.OpcUa.Api

Assembly: IntervalZero.KINGSTAR.OpcUa.Api (in IntervalZero.KINGSTAR.OpcUa.Client.dll) Version: 4.4.0.0

Syntax

C#VB
public KsCommandStatus CreateSpline(
       int Index,
       McSplineMode Mode,
       int SplineId,
       int Dimension,
       McSplineData[] SplineData,
       double[] CurveParam
)
Public Function CreateSpline(
       Index As Integer,
       Mode As McSplineMode,
       SplineId As Integer,
       Dimension As Integer,
       SplineData As McSplineData[],
       CurveParam As Double[]
) As KsCommandStatus

Parameters

Index

Type: int

The index of an axis group. Indexes are zero based. You can have up to 32 groups.

 

Mode

Type: McSplineMode

The curve fitting method for generating a spline curve.

 

SplineId

Type: int

The index of the path trajectory to be created.

 

Dimension

Type: int

The length for the Point array in the McSplineData Class.

 

SplineData

Type: McSplineData[]

The array that stores data for generating spline curve.

 

CurveParam

Type: double[]

The array that stores the parameters for a corresponding mode.

Return value

Type: KsCommandStatus

Returns the KsCommandStatus class.

Remarks

Examples

C#
N/A

See also

Motion Class

IntervalZero.KINGSTAR.OpcUa.Api Namespace